package com.atguigu.jxc.dao;
import com.atguigu.jxc.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * -
 *
 * @author 周沫
 * @Date 2020-12-30
 * @Time 14:59
 */
public interface ReturnListGoodsDao {

	Integer saveReturnList(@Param("returnList") ReturnList returnList);

	Integer saveReturnListGoods(@Param("returnListGoods") ReturnListGoods returnListGoods);

	List<ReturnList> selectReturnList(String returnNumber, Integer supplierId, Integer state, String sTime, String eTime);

	List<ReturnListGoods> goodsList(@Param("return_list_goods_id") Integer returnListId);

	Integer delete(@Param("return_list_id") Integer returnListId);


	List<PurchaseCount> count(@Param("sTime") String sTime, @Param("eTime") String eTime,
	                          @Param("goodsTypeId") Integer goodsTypeId, @Param("codeOrName") String codeOrName);

}